package com.yyw.gulimall.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yyw.gulimall.product.entity.AttrAttrgroupRelationEntity;
import com.yyw.gulimall.product.vo.AttrGroupRelationVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性&属性分组关联
 *
 * @author yiyw
 * @date 2020-10-24 11:59:19
 */
@Mapper
public interface AttrAttrgroupRelationDao extends BaseMapper<AttrAttrgroupRelationEntity> {

    List<Long> getIdsByAttrIdAndAttrGroupId(@Param("vos") List<AttrGroupRelationVo> vos);
}
